public class test26 {
    public static void main(String[] args) {
        S(3.0);
    }
    public static void S(double r){
        double a= 3.14 *r*r;
        System.out.println(a);
    }
}
